<?php
/**
 * A helper file for your Eloquent Models
 * Copy the phpDocs from this file to the correct Model,
 * And remove them from this file, to prevent double declarations.
 *
 * @author Barry vd. Heuvel <barryvdh@gmail.com>
 */


namespace App\Models{
/**
 * App\Models\Permission
 *
 * @property integer $id
 * @property string $name
 * @property string $display_name
 * @property string $description
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 * @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Role[] $roles
 * @method static \Illuminate\Database\Query\Builder|\App\Models\Permission whereId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\Permission whereName($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\Permission whereDisplayName($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\Permission whereDescription($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\Permission whereCreatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\Permission whereUpdatedAt($value)
 */
	class Permission extends \Eloquent {}
}

namespace App\Models{
/**
 * App\Models\RepoSetting
 *
 * @property integer $id
 * @property string $ssh_host ssh config host
 * @property string $repo_url 仓库地址
 * @property integer $repo_id 仓库id
 * @property string $app_path 应用部署路径
 * @property string $app_logs_path 日志路径
 * @property string $app_configs_path 配置文件路径
 * @property string $server_env 服务器部署环境
 * @property string $default_branch 默认部署分支
 * @property string $name 配置名，显示用
 * @property string $last_sha_id 最后一次部署时提交的sha-id
 * @property string $exclude_files rsync 时要忽略的文件，PHP_EOL换行符分割
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 * @method static \Illuminate\Database\Query\Builder|\App\Models\RepoSetting whereId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\RepoSetting whereSshHost($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\RepoSetting whereRepoUrl($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\RepoSetting whereRepoId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\RepoSetting whereAppPath($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\RepoSetting whereAppLogsPath($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\RepoSetting whereAppConfigsPath($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\RepoSetting whereServerEnv($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\RepoSetting whereDefaultBranch($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\RepoSetting whereName($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\RepoSetting whereLastShaId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\RepoSetting whereExcludeFiles($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\RepoSetting whereCreatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\RepoSetting whereUpdatedAt($value)
 */
	class RepoSetting extends \Eloquent {}
}

namespace App\Models{
/**
 * App\Models\Role
 *
 * @property integer $id
 * @property string $name
 * @property string $display_name
 * @property string $description
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 * @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\User[] $users
 * @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Permission[] $perms
 * @method static \Illuminate\Database\Query\Builder|\App\Models\Role whereId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\Role whereName($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\Role whereDisplayName($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\Role whereDescription($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\Role whereCreatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\Role whereUpdatedAt($value)
 */
	class Role extends \Eloquent {}
}

namespace App\Models{
/**
 * App\Models\User
 *
 * @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Role[] $roles
 * @mixin \Eloquent
 * @property integer $id
 * @property string $name
 * @property string $email
 * @property string $password
 * @property integer $gitlab_uid
 * @property string $gitlab_avatar
 * @property string $gitlab_nickname
 * @property boolean $gitlab_is_admin
 * @property string $gitlab_private_token
 * @property string $gitlab_access_token
 * @property string $remember_token
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 * @method static \Illuminate\Database\Query\Builder|\App\Models\User whereId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\User whereName($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\User whereEmail($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\User wherePassword($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\User whereGitlabUid($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\User whereGitlabAvatar($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\User whereGitlabNickname($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\User whereGitlabIsAdmin($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\User whereGitlabPrivateToken($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\User whereGitlabAccessToken($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\User whereRememberToken($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\User whereCreatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Models\User whereUpdatedAt($value)
 */
	class User extends \Eloquent {}
}

